Previous Book Contents Book Index Next

Inside Macintosh: Programming With MRJToolkit /
Chapter 2 - MRJToolkit Reference / The MRJFileUtils Class
Methods /


setDefaultFileCreator

Sets the default creator for the Java application.

public static void setDefaultFileCreator (
                     MRJOSType defaultCreator);
defaultCreator
The 4-byte creator you wish to assign as the default.
DISCUSSION
On the Mac OS platform, the creator is a 4-byte character constant that the Finder uses to identify the application that should open a document. The application itself has the same creator as its documents. If you do not specify a default creator, any saved files will have the current application's creator.

SEE ALSO
The "Finder Interface" chapter in Inside Macintosh: Macintosh Toolbox Essentials for information about creators.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 NOV 1997